package daa.levelup.threads;

import java.util.LinkedList;
import java.util.List;


public class DefList {
    private List<String> allString  = new LinkedList<String>();

    public void addElement (String s){

        allString.add(s);

    }
    public int getElement (){
        return allString.size();

    }
}
